tar-in: Fix places where we didn't cancel the receive (FileIn) correctly along error paths (RHBZ#1091803).

Thanks: Bo Fan.
(cherry picked from commit efd159a063410b3d9d13814222abed231ec42f90)
Add a regression test for RHBZ#1091803.

(cherry picked from commit 50b207ca459a205efeec613ab04ff4c39dc6bee2)
rhbz1091803.sh: manually create the image instead of using 'scratch'

'add-drive-scratch' is new in >= 1.26.