Fix Windows build errors (caused by missing calls to path_to_utf8()).