Writes output files to disc.
Writes a file to disc using the
output path and
content buffer assigned to the file.
Writes a file to disc.
Returns a promise that resolves when the file has been written.
fileObject the current file.
contextObject the processing context.