pub fn atomic_write_plain( path: &Path, content: &[u8], fsync: bool, ) -> Result<()>
Atomically create or replace a file with the given content. Use a plain file. Do not use symlinks.