Added an exit handler that closes open pytables files (using atexit.register). This solves the problem we had with files not being closed at exit, which made pytables write a message to stderr.