Extend support for streaming datasets that use glob.glob
This PR extends the support in streaming mode for datasets that use `glob`, by patching the function `glob.glob`.

Related to #2880, #2876, #2874