fix generation of stripped down (totals only) monthly file