### Godot version

master

### System information

Win11

### Issue description

When use `Generate POT` for multiline texts, it drops `\n` and generates single line message.

- **Label text in Main.tscn:**
![image](https://user-images.githubusercontent.com/12966814/209623668-19fd1d76-038a-4c19-938e-7559eb7652a3.png)


- **tr() text in Main.gd:**
```gdscript
func _ready():
	print(tr("MULTILINE text\nfrom\nMain.gd"))
```

- **Generated .pot:**
```pot
#: Main.tscn
#: Main.gd
msgid "MULTILINE text"
"from"
"Main.gd"
msgstr ""

#: Main.tscn
msgid "This is"
"MULTILINE text"
"from Main.tscn"
msgstr ""
```
This is actually single line like `This isMULTILINE textfrom Main.tscn`


- **Expected:**

```pot
#: Main.tscn Main.gd
msgid ""
"MULTILINE text\n"
"from\n"
"Main.gd"
msgstr ""

#: Main.tscn
msgid ""
"This is\n"
"MULTILINE text\n"
"from Main.tscn"
msgstr ""
```

### Steps to reproduce

Generate pot file for multiline texts.


### Minimal reproduction project

[generate_pot_newline.zip](https://github.com/godotengine/godot/files/10306460/generate_pot_newline.zip)

Error err;
	Ref<FileAccess> file = FileAccess::open(p_file, FileAccess::WRITE, &err);
	if (err != OK) {
		ERR_PRINT("Failed to open " + p_file);
		return;
	}
	String project_name = GLOBAL_GET("application/config/name");
	Vector<String> files = GLOBAL_GET("internationalization/locale/translations_pot_files");
	String extracted_files = "";
	for (int i = 0; i < files.size(); i++) {
		extracted_files += "# " + files[i] + "\n";
	}
	const String header =
			"# LANGUAGE translation for " + project_name + " for the following files:\n" + extracted_files +
			"#\n"
			"# FIRST AUTHOR < EMAIL @ADDRESS>, YEAR.\n"
			"#\n"
			"#, fuzzy\n"
			"msgid \"\"\n"
			"msgstr \"\"\n"
			"\"Project-Id-Version: " +
			project_name + "\\n\"\n"
						   "\"MIME-Version: 1.0\\n\"\n"
						   "\"Content-Type: text/plain; charset=UTF-8\\n\"\n"
						   "\"Content-Transfer-Encoding: 8-bit\\n\"\n";
	file->store_string(header);
	for (const KeyValue<String, Vector<MsgidData>> &E_pair : all_translation_strings) {