Rewrite path.