Changing deprecated `.to_owned` for `.to_string` method.

Command used for this commit.
    > sed -i "s/.to_owned/.to_string/g"