Add the file extensions when missing if dling an archive.
Merge pull request #901 from ngodfraind/bugfixes

Add the file extensions when missing if dling an archive.