Fixed accidental dependency on java.nio.charset.StandardCharsets (Java 7 only)