Encode the provided top-level NS with utf8_encodeFN() (as is done in a couple of dozen other places in DW). Thanks to Ryuu and tosmatt.