Switch to Java 7 base64 encoding