Added workaround for bug in numpy.genfromtxt causing a list of length 1 to produce a 0-dim array.