Use to_string rather than the deprecated to_owned.
Merge pull request #29 from mozilla-servo/warning

Use to_string rather than the deprecated to_owned.