Py3k-compatible print statements.

I ran everything through 2to3.py and then manually added ``from __future__ import print_function`` in all modules using "exotic" printing, e.g. redirecting to streams.

    $ 2to3.py -f print -w

I thought I'd do the other 2to3 rewrites separately, as this needed manual intervention.