exec-sync is deprecated. use execSync or native (node 0.11+) 

based on readme for exec-sync: https://github.com/jeremyfa/node-exec-sync

and comment here: https://github.com/mgutz/execSync/issues/20#issuecomment-46823036