Make sshng2john work under Python 2.4 to Python 3.3