Ruby 1.9 encoding fix

See https://github.com/grafi-tt/systemu/commit/33b1835c6a4fffa305cff954f5ed3ab47b5b4d33