Fix print statements for py3.