Fix up logging (and log rotation) for dumpwikidatajson

Affects snapshot1003

Change-Id: I993e27580a3eb3943f88cadc1eca2195e6e3425e