Convenience class for writing character files.
Files are stored in a shared file system where multiple processes could
access the same file. The client code is responsible for ensuring that no
more than one process writes to a file at a given time.
when this class is used with sensitive data, be careful in persisting sensitive information to disk.