Normalize filenames coming into API to replace backslashes.

Add tests for backslashes in sourceRoot.
Derived classes need to use it.