[FIX] Fixed roi_io module (II)

Resolved merge conflicts of #11