Fix ruby/gem/rake issue with encoding