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.
@misterdjules is correct, not only should `empty` be `cmd`, but also `s/execFile/spawn/` for lines 65-68.