The error message seems like a bug in scipy/io/wavfile.py, possibly triggered by a corrupted wav file (if you can read some).
You could try to loop over your dataset to find the problematic indices and delete those from the dataset.
Best regards
Thomas