util,python: Updated git-pre-commit.py to use Python3