Only verify the contents file once, just after downloading it

This speeds up container creation. Verifying the image took up most of the
time.