Slightly better error handling in unknown filetypes