switch to py3 compatible print