Change the version reporter to work on Python 3.