stubbing cache dir