Sets the global attributes for a given output stream.
The output stream for which to set the global attributes.