Creates a WAV file from an array of ints.