fix deprecated call to String.iodata_to_binary