add customized error handler to redirect the hdf5 error message to R console. #23
close #23