Added base64 encoding

encoding the data in base 64 simply makes it easier to distinguish from
LaTeX code