Normalize filenames coming into API to replace backslashes.

Add tests for backslashes in sourceRoot.