Add File.realpath for ruby 1.9

I've produced this quick patch, it seems to work for my very basic usage of the gem, don't know if it's really ok