[libvirt] [PATCHv2 3/7] conf: use virDirRead API