verify-patch.sh: handle txt, rst and md files as doc