mpl's suggestion to move io.EOF check closer to error generation point.
mpl's suggestion to move io.EOF check closer to error generation point.

bdotdub/goexif,junjizhi/goexif,porridge/goexif,kladd/goexif,op/goexif,rwcarlsen/goexif,xor-gate/goexif2,hydnwang/goexif