Fix cpio -it: don't close(fd) unless we opened it.