Moved writing errors statistics to ConsoleErrorsWriter.