Consistency checker closes the report file

when it's done writing the report, if any.
Oh and StringLogger#lazyLogger() was changed so that close() on such will
not first create the logger to then close it right after, instead close
only if it was created earlier.