fixes for Python 3
Merge branch 'master' of https://github.com/pymdf/mdf