tts/text_reader.cpp: create a new memory buffer containing the matching text instead of pointing to the stack buffer