Escape binary hmac with Base64

Otherwise, attempts to encode the text as UTF8 for humans, e.g. in a
database text field, will fail.