pub fn atomic_write(path: &Path, value: &Value) -> Result<()>
Write one JSON value via a private same-directory temporary file.