This patch makes the pprint and vgrind return error codes if generation of the typeset or filtered files fails. Its main purpose is supporting the simple install test feature provided by Homebrew formula, and it may also be useful if these scripts are themselves used in other scripts.