Fix units.
H5Fclose the HDF5 file.
test-hdftable: Add scopes and close HDF5 resources.
Fix the silly exception in HDFTable::bind()

Also add a relevant test to test-hdftable.