Remove trailing slash from URLs