Updated IOHelper.writeText to return WinJS.Promise<number> instead of WinJS.Promise<void>