היי,
לצערי אני עובד ב C# ולא מכיר כל כך JS, אבל לפי מה שאני מבין שכתוב כאן, הפעם היחידה שאתה מנסה לכתוב משהו לקובץ זה בשורה הזו:
Windows.Storage.FileIO.appendTextAsync(file, "the file new text")
כלומר, אתה טוען שלתוך הקובץ שלך לא נרשמת שורה "the new text" ?
עשיתי אותה דוגמא ב- C# (כמובן, ב- Capabilities ציינתי גישה ל- documents, ובסיומות בתוך Declarations רשמתי *.txt) - ודוגמא זו עובדת מצויין:
var file = await Windows.Storage.KnownFolders.DocumentsLibrary.CreateFileAsync("currentDocument.txt", Windows.Storage.CreationCollisionOption.ReplaceExisting);
await Windows.Storage.FileIO.AppendTextAsync(file, "the file new text");
מקווה שהבנתי אותך נכון ולא דיברתי שטויות )