System.Filepath: Improve the implementation of separator()

This way also works for the system whose separator is not "/" or "\".
...Maybe.