Use String::from_str() instead of the now deprecated to_owned()
Merge pull request #186 from DaGenix/fixup

Use String::from_str() instead of the now deprecated to_owned()