trim_chars no longer takes a reference

http://static.rust-lang.org/doc/master/std/str/trait.StrSlice.html#tymethod.trim_chars