switch to pure python createrepo, instead of shelling out
merging in createrepo changes