Fix for argv mode

The lines from stdin have newlines, and these are what we print back out.
When we take are args from the command-line, these need to have newlines
appended, lest they all end up on the one line.