test(hook): Try stubTree to fix TravisCI error

- For some reason the build fails due to ShellJS stat'ing a file that
  wasn't stubbed properly by sinon-doublist-fs. Trying a different
  approach to building the stubs.