Use function version of print() for Python 3 compatibility.

This is all it takes to make the reset script compatible with Python 3.