mock.makeDirectory throw ENOENT when base path does not exist