Don't crash on extensionless files. Helps GitHub issue #2 some more. Taken from DS2Compress.