convert a blob to base64 string with the header and body separated as a 2-tuple.