Fixed a minor bug where xnOSIsDirSep returns a wrong answer (true) when \0 is passed.
Fixed the format as per the coding style guide.