Make the code compatible with both, python2 and python3

Instead of forcing the use of python2 we can make AppImageKit compatible with both python2 and python3 at the same time without obfuscating the code at all.