Fix minor coverity-found problem

When in throwing-away file transfer mode, don't try to
lseek on a bogus file descriptor.