die if we cant open a cache file; we've already checked it exists so there must be some error otherwise