Simplify ExpandRTDir().

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