Fix ruby 1.9.3+ undefined method `each'.

We were allowing strings to be treated as arrays and ruby 1.9.3 is not
happy doing that.  Now we enforce arrays.  Go Travis!