Improve label names for to_base64.  Slightly improve efficiency
and simplify encoding of the last 3 bytes of the binary data
being converted to_base64.