Add function for ensuring trailing slash on urls.