unquote string in toPathValue