Modified executable to write to stdout

Was writing to the input file, that seems like a bad design choice in
retrospect, and it was essentially 0 work to change, so I did it.