Rewrote the base64 encoding modifier

Also added a tiny test where we try to base64 encode a rather large string