Fix bare print calls that were missing '()'.
Fix bare print calls that were missing '()'.

These were causing a missing newline on exit.

Closes gh-637, slightly modified from the original version, as there
was one more print elsewhere in the file.

ipython/ipython,ipython/ipython