Fix bad file extensions