change blob to base64