output/csv: use intermediate time_t var, silence compiler warning