Add trailing slashes to internal URLs.