Fix spawn error handling in exec util

It appears that eventual errors coming from `child_process.spawn` are not handled within _utils/exec.js_. In some scenarios it causes immediate crashes

This mishandling is a source of #3243 issue. After this patch is applied, compilation with Node v0.10.0 goes fine as it was with Node v0.8.22.