Generate a file on the local filesystem using the specified utf8 string as its contents.
Encodes file contents as utf8. This machine should **NEVER** be used in request handling code!
var Filesystem = require('machinepack-fs');
// Generate a file on the local filesystem using the specified utf8 string as its contents.
string: 'lots of words, utf8 things you know',
Path (relative or absolute) to the file to write.
Text to write to the file (if omitted, will create an empty file).
'lots of words, utf8 things you know'
Whether to overwrite existing file(s) which might exist at the destination path.
An unexpected error occurred.
An existing file / folder was found at the specified path (overwrite by enabling the `force` input).