Make require("mock-modules").dumpCache actually dump the module cache.