Strip trailing slash.