fixed optional export of binary fields as base64