use rpm bindings to find configfiles

I've tested this function with local files, but have not tested with rpmconf.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>