Optimize compile.py and make it possible to run it with Python 3 (note that it'll run and create a proper pickle, but that doesn't mean that the pickle will work as a decompiler due to naming differences)