Raise exception on non-unique column index in to_hdf for fixed format.

Fixes #7761.
say, you can store this in table format, however.