Replace the use of createrepo with createrepo_c

Copied over from: https://github.com/pulp/pulp_rpm/pull/610
We still need the old version for the importers use of createrepo.yumbased