pub async fn write_overwrite_async<P: AsRef<Path>, C: AsRef<[u8]>>( path: P, contents: C, ) -> Result<()>