Use _snwprintf to address a compile error due to the changed swprintf signature in recent versions of MinGW. Refs #7373