Make tests pass in Ruby 2.0.

This is a different take on making tests pass in Ruby 2.0. Instead of adding a method to String, it declares the correct encoding for `pack.rb`.