Add in a function to concatenate path components.