Rename tmp to tmp_rename