Fix sound file reading on windows