Encode buffers as bytea hex strings