[CentOS] Issues with stat() call on CentOS5 vs CentOS4