Convert iolist to binary