Write string s to stream. Return the number of characters written (which is always equal to the length of the string).
io/TextIOBase.write
TextIOBase.write