Fix single-character poisoning bug

Make an actual copy of the string, to prevent single-character poisoning.
This fixes http://sourceforge.net/p/textindexng/bugs/125