Make base64 encoding of output work.