PLINK-473: close the inputstream