Do not actually allow to set zero size to statfiles.
Do not resize statfile if old_size == new_size.