Python 3 compatibility

Introduce __future__.print_function, which requires python 2.6 or above.