convert paths to path strings