Clean up converted code.

Mistakes spotted by @Carreau
Don't use execfile in setupegg.py