pub fn write_atomic(path: &Path, bytes: &[u8], opts: WriteOpts) -> Result<()>
bytes to path so a reader sees the old file or the new one, never part of one.
bytes
path