Python 2 EOL: migrate gitlog2changelog.py to Python 3