Move exif-tagging code into Photo class.