renames doubly named file.