Check if a Buffer/Uint8Array is a WAV file.