Opens a Writer on the specified OutputStream, writing a BOM if the specified codec has one.
Writer
OutputStream