fixes #184: Use spawns instead of child_process.exec