Addressing breaking IFileSystem changes

@pranavkm
Yeah this is more about ensuring the code matches the intentions. The intention is that we trim off leading `/` and leading `~/`, and not that we trim off `~//`. So as far as what happens with really weird paths like `////` that is orthogonal :smile: