Windows compat fixes

Fix windows compat by redirecting stdout/stderr to FDs rather than
depending on it being piped back via spawn().

Works around issue: https://github.com/visionmedia/mocha/issues/333