Fix issue with "multi_line_output"

* Because of the way the string was being broken into words any LF
  characters were being removed unexpectedly