get_fields() already cares for removing the quotes, the bits in get_str()
are thus already operating on the final string, as well as it is broken
in the calculation of the text length to copy.
Possibly were left-over from initial code drafts, as all this logic was
already in the initial commit to kdelibs in e5b75f8409e7