Make URI calls compatible with ruby 2.0 (it fails to do a #() call to the module)