fix: encoding of yumdb directory names in py3.