pub async fn write<P>( path: P, data: &[u8]) -> impl Future<Output = Result<(), IoError>>where P: Clone + AsRef<Path>,