You can use a software with command line like SoX You have some examples of use here.
For converting to mono it will be something like:
sox stereo.wav -c 1 mono.wav avg -b
Hope it works for you.