escape the path for sed