fn temp_path(target: &Path) -> Result<PathBuf>
A dot-prefixed sibling of target. It has to share the directory: rename is only atomic within one filesystem.
target
rename