get rid of carriage returns in box output

Split out carriage-return fixup, which makes SHOW TABLE actually usable in interactive mode for tables with carriage returns in their definitions.