fix read_cb bug, the modified version should be correct using the latest librsync library