Fixing misuse of QTextStream. Fixing failing CTF Reader test