A statistical model of drying induced fractures