Use the cache dir for device metadata cache