Modify path strings.