@brief writes to a file
`fs.write(filename, content)`
Writes the content into a file. Content can be a string or a Buffer object.