descriptors: add fget_remote_foreach()
(cherry picked from commit 4b69f1fab66db4fd3f874e78a457e317cd498d36)