Made prints py3 compatible.