Remove mixing of char with Windows TCHAR APIs.