ngfrills.safe_write: create the output dir if needed
batch: extracted reference-building to a separate function
batch: put new (anti)target BEDs in . or output dir, not the bait source dir