Fix minor bug in base64 plugin