Mark std.file.writeImpl as @trusted
Merge pull request #2298 from tom-tan/trusted-file-writeImpl

Mark std.file.writeImpl as @trusted