fix duplicate header output in output/log.txt

We were writing the welcome message from every processor into output/log.txt. Because the file was overwritten unless we are
resuming from an old computation it was only visible then.