PLINK-468: close the inputstream