Fix print statements for python 3