Repair root-relative links.