add base64 for binary.