Handle empty arrays in Array#to_gplot.