fix bug #65028 	Phar::buildFromDirectory creates corrupt archives for some specific contents
Merge branch 'bug65028' into PHP-5.4

* bug65028:
  fix bug #65028 	Phar::buildFromDirectory creates corrupt archives for some specific contents
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #65028 	Phar::buildFromDirectory creates corrupt archives for some specific contents