renames file instead of copying