Mocked node.js fs module.