Fix spurious blank lines on stdout.