Write to stdout all at once to reduce "flashing" on remote monitoring