pub async fn write_private_file_atomic( path: &Path, contents: impl AsRef<[u8]>, ) -> Result<()>
Atomically write a category-owned private file without following symlinks.