Creates a future that will open a file for writing and write the entire
contents to it.
This is the async equivalent of
This operation is implemented by running the equivalent blocking operation
on a separate thread pool using
use tokio::fs; fs::write("foo.txt", b"Hello world!").await?;