use NSCoding to preserve UIImage metadata in persistent store