Proper closing of file descriptors in bloom.c.