remove exec.js, use child_process.execFile

Fixes #3312