Modes should be strings

Per svargo without this there will be issue in Ruby 2.X