Fixed bug around conversion of type descriptors for arrays.
Worked around bug in aviso/write-exception.