Fix support for non local files
Merge pull request #314 from romainneutron/fix-http-metadata-extraction

Fix support for non local files