Update TextWriter.cpp