Phar creator fixes
Merge pull request #17 from milo/phar-fixes

Phar creator fixes