Fix print statement usage for Py3 compatibility.