Fixes to FilesystemUtils::glob() method.