made helpers.rb#escape_once conform to immutability to get rid of jruby complaint about modifying a frozen string