Remove trailing slashes.