pub fn write_atomic(path: &Path, content: &[u8]) -> Result<()>
Write bytes to path via temp file + rename.
path