fix another buffer overflow

now that we handle >64 pids, we can overflow the 512 byte array here
quite easily.  print out everything one line at a time instead.