Fixing print statements for Python 3.4