Added percentage escapes for path resolution.