avformat/dashenc: Handled the error from dashenc_io_open()