multiview: more robust read/write multiview EXR
the old implementation was working due to a bug in my code.
now we can get/set the pass type properly.
also we have nice functions in render_result to get view name, or id
and I refactored get_pass_name to use switch and to always include the
view.