This is a more optimized version of the GFile * APIs, and is now used internally by the previous ostree_repo_traverse().