fixed a bug preventing .wav files containing non-data chucks to be loaded correctly