Raise exception if image datetime can't be found in exif.