fixed a node.js-bug, where files with '.cmd' cannot be spawned