Sanitize the output when writing the logging.properties file.
[LOGMGR-55] Add encoding attribute when writing out handlers.
Be more careful about errors during init