Stringifies variables written to text files.