Move error reporting down into read_sndfile, so that individual failure paths can have specific error messages.