h5 : correction for old hdf5

- use v2 functions, since ubuntu 12.04 e.g. compile
  with default 1.6 mode !!
- replace a deprecated function call by a new one.