Ruby 1.8.7 compatability: Convert symbol to string before downcase

Ruby 1.8.7's Symbol does not have the downcase method (see [the docs](http://ruby-doc.org/core-1.8.7/Symbol.html)). This caused a NoMethodError to get thrown when using this library under 1.8.7.