Correct the return value of MemoryStore's putBytes

Previously, the dropped blocks were masked and always empty. This is
simply incorrect. However, since the return value of putBytes is not
actually used anywhere in the code at the moment, the behavior is still
the same as before. Nevertheless it is still good to fix this.