Added a quick fix to be able to get the encodings of a given data set, and write these encodings to an hdf5 file via pytables.