Avoid using legacy rpmio interfaces