Let all the codecs deal with strings [TORQUE-1030]

Those who want bytes can convert them as needed.
Avoid a potential race condition here
Caches can be configured with an :encoding now [TORQUE-1030]