Do not pass "r" to File.read()

This won't work in ruby 1.8.x, which I think is a target for pebbles.
And for later versions of ruby, this should be the default, so no
change.
Merge pull request #540 from vuntz/compat-old-ruby

Do not pass "r" to File.read()