Remove trailing slashes from links.