change charsets used to a guava class for Java 6 compat