Handle error case where provided image is not a photo sphere.
Buffer output before writing content-disposition header