It was Phils comment about the console being "Ruud's emulation" that sent me down this path.

  • KiXtart truncates output to the console if it would wrap - wholly inappropriate for piped or redirected data so you want to switch that off.
  • Standard output is in Unicode, which again is not usefull when piping or redirecting output, as you will get two bytes for each character and no application that you are piping to is likely to understand that. Switching to ASCII fixes that problem.
You could probably get away with just switching to ASCII, but I'd recommend both.