to_base64 returns StrBuf now