Rework enum_to_hdf5
Rework enum_to_hdf5

I came here for the list(range()), stayed for the fun.

avalentino/PyTables,jennolsen84/PyTables,gdementen/PyTables,mohamed-ali/PyTables,jennolsen84/PyTables,rabernat/PyTables,avalentino/PyTables,FrancescAlted/PyTables,andreabedini/PyTables,andreabedini/PyTables,PyTables/PyTables,FrancescAlted/PyTables,jennolsen84/PyTables,mohamed-ali/PyTables,rabernat/PyTables,gdementen/PyTables,mohamed-ali/PyTables,rabernat/PyTables,avalentino/PyTables,andreabedini/PyTables,andreabedini/PyTables,mohamed-ali/PyTables,FrancescAlted/PyTables,gdementen/PyTables,rabernat/PyTables,PyTables/PyTables,gdementen/PyTables,PyTables/PyTables,jennolsen84/PyTables