accept iolist not just binary