[libvirt] [PATCHv2 4/7] util: use virDirRead API