ANSI aware output stream