Extract fs calls used by watch.js to files

Right now it doesn't work that well, node keeps taking up 100% cpu once
the skeleton app starts running.