Fix buffer-overrun when logging key to delete in binary protocol.
fix potential unbounded key prints

item key isn't necessarily null terminated. user submitted a patch for one,
this clears two more.