Make gsub's pattern Escape for path