Adds the paths to the base path.
The potentially changed path (POSIX).
The base path (POSIX or Windows).
Rest
Subpaths to attach (POSIX).
Adds the paths to the base path.
Returns
The potentially changed path (POSIX).