fix issue with php generated files with filename passed by headers
Merge pull request #3 from matteocrippa/master

fix issue with php generated files with filename passed by headers