PLINK-461: close reader in finally