Remove slashes in paths