Fix the file renaming step