fn write_atomically( path: &Path, contents: &str, expected: Option<&str>, ) -> Result<(), WriteRefusal>