Simplify StreamWriter.