Add py3 compatible printing