Writes a string followed by a newline to the stream.
the string to write.
true on success, false on error.