fixes bug 997236 - Run check.py on ALL files before exiting
Merge pull request #2000 from peterbe/bug-997236-run-checkpy-on-all-files-before-exiting

fixes bug 997236 - Run check.py on ALL files before exiting