Fix bugs in FileSystemObject text-file handling
OpenTextFile(...,ForWriting,True) should either create a new file, or open and truncate an existing one
OpenTextFile(...,ForAppending,?,True) should write a BOM if appending to an existing-but-empty file
-- v3: scrrun: Fix bugs in FileSystemObject text-file handling scrrun/tests: Introduce a test_file_contents helper