Writes to a file securely.
The file security access.
The file to write.
The content of the file.
See Implementation
Writes to a file securely.