Mark std.file.writeImpl as @trusted

It contains unsafe functions `core.sys.posix.fcntl.open` and `core.sys.posix.unistd.write` but we can verify they can be trusted.