Piotr Caban : msvcrt: Improve error handling in wcsrtombs function.