rework CacheWriter writeAll() and deleteAll() to permit partial success
Merge pull request #204 from timeck/cacheWriterChanges

rework CacheWriter writeAll() and deleteAll() to permit partial success