Fix zeroing of stat structure.