Merge "Fix struct stat to match POSIX 2008."