Strip trailing slash