Update the handling of CORAL attributes to work with both py3 and py2. Can simplify it now using a pyroot template proxy.