added support for bools in HDF5