allow use of msg ids with utf8 chars

The msgids from the mo file are read in as bytes in L::TD, as such they need
to be encoded before being sent to it, otherwise they wouldn't match any keys
and translations would not be found for them.