Use new stringjoin() and pathjoin() functions.