perf: String#getBytes(Charset) vs getBytes(String)

Use the cleaner and slightly faster getBytes on Strings.

Removed use of StandardCharsets. Since String#getBytes(Charset) was introduced in jdk 1.6 (which is the whole point of this change), support for jdk 1.5 cannot be provided.