Add FileIO.writeFile
This patch was authored by @t-ae and released by @tanner0101.
Adds writeFile
method to request's FileIO
helper (#2418).
// Writes "hello" to /path/to/file.txt
// Returns a future indicating when the write has completed.
req.fileio.writeFile(.init(string: "hello"), at: "/path/to/file.txt")