modified Rakefile to fix the encoding error