Correct the file extension