Modernize -creationDate for iOS

It also fixes the getattrlist bug on 64-bit system.