More on unicode: add uc_setlen to set length of scblk, convert optfile and rdenv to use unicode
buffers.