correctly check return values for file callback functions
correctly check return values for file callback functions

FluidSynth/fluidsynth,FluidSynth/fluidsynth,FluidSynth/fluidsynth,FluidSynth/fluidsynth