Update appCtrl.js

pipe applogs directly to disk from child process