python 3 support closes #9