Change char::escape_{unicode,default} to take closures