recursively ecursively copy Perl data converting to UTF-8 bytes