Fix print statements for Python3