pub async fn write_async(path: &Path, contents: impl AsRef<[u8]>) -> Result<()>
Write a file with contextual error (async)