Improved python3 compatibility of xbob.boosting.