DAR-1714: Replace PNG with JPG in thumbnails generation for avatars