make repodata_stringify return the result string