Make print statements compatible with python3.