Puts a string into the output stream.
a DataOutputStream.
a string.
optional Cancellable object, null to ignore.
true if string was successfully added to the this.
string