images: Move legacy_s3_url into image model.