function createPresetGlob(globFn, presets) {
    return (patterns, options) => globFn(patterns, Object.assign({}, presets, options));
}
Creates a wrapper function for the glob function
to define new default options.

@param {function}    globFn  - The glob function.
@param {GlobOptions} presets - The glob function options to preset.

@returns {GlobFn}