autoinvite.pl: Ported to Python3.