Achieves parity with filepath.join(), which was similarly changed a while back.
core:path
core:path/slashpath