Handle base64 data returned as buffer from tryton