Update gensupport.rb

Updating usage of String for > Ruby 1.9.3