Intelligently joined paths with os.path.join

https://public.commandprompt.com/issues/5298