codecvt

Replaced the Windows multibyte and widestring conversion methods with
their STL equivalents.