Fix blob type checking in object-codec

In object-codec's encodeBlob method, fix the error message for when an
invalid body is sent. It was something cryptic about missing methods; now
it is the expected "Invalid body for blob".