Mark std.file.write and append as trusted
Merge pull request #2318 from tom-tan/trusted-file-write-append

Mark std.file.write and append as trusted