Fix a filename from a renaming operation.