Fixed loading of .wav files