[PATCH 1/2] cmd: Use towlower()/towupper() for WCHARs.