test: use executable in spawn() test

Currently, the `test-child-process-spawn-typeerror.js` is calling `execFile()` on a JavaScript source file, which is causing failures on Windows. This commit switches the source file to an actual executable.