Fix 65069: GlobIterator fails to access files inside an open_basedir restricted dir

Proper checking and filtering of glob stream paths when open_basedir set