Fix csv trailing slash