Remove extra slash in path.