Organize situation with stat and stat64 and similar stuff. Looks like we can use stat() everywhere?... BTW, we're getting warnings on MacOS because of stat vs stat64....