Fixed bug in h5utils and improved script for injection of steps of
current.