keep problem with marc.to_s from interrupting our error logging.

Encoding problem hell can lead to in ability to even marc.to_s
change log.batch_progress to log.batch_size
make log.batch_size code clearer and more efficient