[python3] Minor adjustments for py2/3 compatibility on 4 xbob.db packages