Added the ability to write WAV files. cmAudioFileCreate() now creates a WAV or AIF header based on the file name extension.
_cmAudioFileReadInt() now returns in error instead of asserting when an invalid input channel count is encountered.
report the name of the audio file which produced the error.