Add base::to/from_utf8 impl for Unix-like platforms