table.tostring to binary