Better way to check ruby version.
Zlib and read return ASCII. Use force_encoding to make them work in a UTF8 world.