Port dbfpy to Python 3