small fixes in logging during bulk export