Replace "\" with "/" so paths are correctly parsed on windows.

Conversion of path to namespace was failing on Windows, as File.getPath() returned the path using "\" as the separator.