Fix code in TCPout to output a string