Related to #1204.  Make Psych emit strings in proper encoding.  IOOutputStream can now explicitly specify what encoding it wants to write strings with
Merge IOOutputStream change from jruby-1_7