fix .phar detection for newer versions of 'file'

newer versions appear to return 'data' instead of 'php script' for composer.phar