Found bug in buffered block I/O, the buffer swaping did not swap the bio field