Support for ext/phar (incomplete)