Fix print command to respect python 3