Implement binding('spawn_sync') to support child_process.spawnSync(...)