Don't crash on extensionless files.