merge #9921: clarify os.path.join joining algorithm