[io] validate input in sink_sndfile_do