Fixing a double file.Close() call in tests.
Fixing a double file.Close() call in tests.

LGTM: Dmitri.

fanngyuan/vitess,nso95/vitess,nso95/vitess,nso95/vitess,fanngyuan/vitess,fanngyuan/vitess,fanngyuan/vitess,nso95/vitess,nso95/vitess,fanngyuan/vitess