scripts/mailmapper: enable running with Python 3