Fix Issue 10050 - Replace stdmsg with stderr