added ability to preview transformed php files
updated xsl-fileinfo call to use function instead of stream wrapper