pub fn write( path: impl Into<PathBuf>, data: Vec<u8>, done: impl FnOnce(Result<()>) + Send + 'static, )