Properly convert command-line arguments to UTF-8 on Windows.