Issue #166 handle a shift to byte mode properly outside of a compaction mode handler