windows sysPath.sep causes problems with the generated code.  the backslash will escape the single quote.