Add contexts for exceptions in LocalCacheFile.
Merge pull request #6433 from bbockelm/LocalCacheFile-exception-messages

Add contexts for exceptions in LocalCacheFile.