Update element.rb

Changes the method text() to get the result as UTF-8