Raise proper failure if not fully reading translog entry

When reading a translog entry, raise a proper error when not reading it fully.