convert.cvs: Initialize state variable and abort on cvs error
Fix as proposed by Frank Kingswood.
Avoids
UnboundLocalError: local variable 'mode' referenced before assignment
when cvs fails.
This alsa partially fixes issue1592.
% extracting documentation from C
checking for parse errors with rst2html
% extracting documentation from da
checking for parse errors with rst2html
% extracting documentation from de
checking for parse errors with rst2html
% extracting documentation from el
checking for parse errors with rst2html
% extracting documentation from fr
checking for parse errors with rst2html
% extracting documentation from it
checking for parse errors with rst2html
% extracting documentation from ja
checking for parse errors with rst2html
% extracting documentation from pt_BR
checking for parse errors with rst2html
% extracting documentation from sv
checking for parse errors with rst2html
% extracting documentation from zh_CN
checking for parse errors with rst2html
% extracting documentation from zh_TW
checking for parse errors with rst2html