Remove trailing slash.