Always build original phar with .phar extension and rename later. Ignore all hidden files (needs to be converted to a filter).
Re-implemented ignoring of dotfiles as a filter.