base64-1.8.4 compatibility