Python 3 support

Fixes knime-mpicbg/knime-scripting#20