This format string include a newline character (\n). In format strings, it is generally preferable better to use %n, which will produce the platform-specific line separator.