Rename temp file.