Ensure print/say ops on JVM write UTF-8.

Fixes issues with CORE.setting generation some folks have been seeing.