Change signatures of CacheWriter bulk methods to allow partial success

it certainly makes sense to me that one would use a set here (what's the point of having duplicates keys). I'm not sure if there was a specific reason 107 picked Collection (vs. Set)