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