always open files in binary mode
bsdconv_mktable: simplify loopback state handling