add error logging to vimpreviewpandoc_diff.py