updated binary mode

Setting & verifying binary mode should be working now.