Fixed generation of rbin data.