Switch to using ruby 1.9.3 encode, instead of deprecated iconv