Well, its used in the codepath for the resize, and its broken.
stat is returned from osFile.Stat() which calls *os.File.Stat(), which returns a syscall.Stat_t, not a sysStatT, so the casts broke.