make a temporary cache dir for each test