minor changes in hdf2bin subroutine