Let's change this to `.endsWith(sep)`, so it'll be cross-platform safe.