Modified main.js and writeOptimized.js to include the patch from http://bugs.dojotoolkit.org/attachment/ticket/15413/node-win.patch