Renaming some files with wrong extension