[#4583] Fallback to Pillow for jpg file detection
[#4583] Fallback to Pillow for jpg file detection

imghdr failed to detect some jpg images and it is drafted to be
removed in PEP 594

akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr,akvo/akvo-rsr