Escape regex special characters in path