write CSV file as by-product in subbox.py tool