Add more config to CertExport
Fix umask in GenerateExportFile
Reseed random in Watchdog, see also #a4cac7c