Fixed a few ssl error logs
historydb: Check for file i/o errors when dumping db (live upgrade)
Live upgrade: Check file IO errors when dumping state for live upgrade.