Rakefile: eliminate Ruby 1.8/1.9 difference

Ruby 1.8/1.9 handles this differently:

    s = 'hello'
    s[0] # 104 (1.8)
    s[0] # 'h' (1.9)