TST: Close file descriptors in io/tests/pytables