impl bplist object reader and writer
fix some bug for xplist and bplist writer