fix int type from last checkin
OpenEXR output string array fix
Eew, it was pulling the data assuming it was a std::string*, but actually
they are just char**'s.
Improved ordering of channels for EXR files.

Now we very robustly cluster "layers" together (with the unnamed layer
first, if it exists), and within each layer have a canonical RGBAZ
order.