How to open and write to a block driver within a character driver?