rescue files with misnamed extensions