Safe to use utf8 path like this?  I think htmlLog ends up just calling string.c_str later on, so should there be an explicit conversion?