(CFACT-137) Fix Unicode support

Command-line arguments aren't necessarily passed in Unicode, Boost.Log and
Boost.Filesystem use wchar_t instead of UTF-8 by default, and Ruby uses
local encoding by default. Change all of these to use UTF-8 in char.
Odd, although it shouldn't make a difference if we go with `stringstream`.