Writes a string to the output stream.
Number of bytes written for normal return, or GLib.FileStream.EOF if an error occurred.