Opens a file in write mode and creates a Node.js-like WriteStream.
The path to the file to be opened.
Optional
A WriteStream object for writing to the file.
Opens a file in write mode and creates a Node.js-like WriteStream.