Fixed an error with dumping DateTimes out to XATTR.

There was a serialization error. Now flattening.