Fix newlines for text files

This addressed an issue where the newlines generated when including snippet files does not contain newline characters, this causes SnippetManager.parseSnippetFile to always return empty.

Instead, of creating actual newlines and a multiline string with \, this adds newline characters.