fix errors. create rec dir on startRecord with time for multiple recs on same day with same cam. also writeout stats along with rec.