Document globpath().
Simplify globpath().

Factor out common subexpression: `WILD_SILENT|expand_options`.

Prefer `continue` to excessive indentation in loop.
path module: export find_previous_pathsep().
Simplify ExpandRTDir().

 * Return `bool`.
 * Use concat_str and `concat_fnames` over `xmalloc()`/`snprintf()`.
 * Use `fnamencmp()` over `STRNICMP()`.
 * Replace variable `e` with `dot`.