create-package-feed.pl: Polish file and directory handling