Correct name of output folder in writing TeX-Code

Fixes crash in unit test