DIOTWI Read and Write functions were always returning success, even on failing