Use tmp dir for cached data.