libc.windows: We have to use utf8 since this is a libc call and the native
encoding on windows is utf16n.