tempfile::file::imp::unix
pub fn persist(old_path: &Path, new_path: &Path, overwrite: bool) -> Result<()>