Fix record dump utility

From memcached records are read in bulks. But memcache may return less records
than asked if the total size of chunk is larger than internal limit. The dump
utility should verify number of records and fall back to one-by-ne retrieval
if needed.

Change-Id: I795790e2b24828bef258aa881f4154a194c0cc1c