logger: switched to wostringstream/fwprintf usage, since this allows us to correctly coax out pretty much anything, as opposed to std::ostringstream/fwrite