convert hapmap format ldfiles to hdf5 in java