Fix crash on extensionless files and non-zipfile exception spamming