Rewrite some broken URIs