Fix print statements for Py2/3 compatibility