rename HDF5 output file suffix to h5
improve Sampler and State plain text output