Allow slashes at the end of paths.