Batch.num_datafiles fix for d1 refresh packages.