Should also work for ruby1.9.3 now.

- Fixed bug where encoding produced an error when seeding.