[releng] PR #6988: Converting all print statements from py2 to py3