Allocated a converting buffer for WideCharToMultiByte. This does fix bug #702.