binary-io: avoid potential compilation warning