What is the reason for checking if self._topology is not None here? If self._topology is None, then writeHeader/writeModel in `report` would have already failed.