PLINK-474: close the inputstream