Write text to a file
Writes a string to a file at the specified path. Returns a FileError value when the file cannot be written.
path (String): The file path.
String
content (String): The content to write.