util: In Blob, convert str to bytes with UTF-8 encoding.