Hack for renaming file