Refactor to fork-equivalent spawn call

This should allow us to run the coveralls module with node and the proper stdio setup.