Fixed function to copy files on windows.

Fixed issue with npm needing to be called npm.cmd in windows. Should help with https://github.com/Strider-CD/strider/issues/326