Fixed an issue with control characters in subjects messing up the index ...

...file.