Working for windows

Optimization required but at this point it is functioning for
windows.

The primary issue was in the copy resources portion of rendering,
where linux / unix commands were executed instead of relying on
node to remove and copy files and directories.