Fixed rendering of string when outputting to file
Fixes #9 Overwrite mode for logger output