Fixed major issues, correct repo now forked. All python files except
the tests have been run through 2to3 with the -w flag. I added changes
to setup.py and mkwrapper.py where f.write and output.reset occured so
that they now are valid. untested