[python3] Fix most print statements