Modernize -creationDate for iOS

It also fixes the getattrlist bug on 64-bit system.
Merge pull request #177 from an0/master

Modernize -creationDate for iOS