Quick hack to access URI.escape without warnings on ruby 1.8.7 .. 2.0+