GROOVY-6305: newWriter() method for OutputStream