Handle control characters (particularly \n) better.