Handle FILE_EXCEPTIONS properly

The test for exceptions was testing the full path instead of just the file.

Also, fix invocation of validate_all_files.

Change-Id: Iecc48b40cbd19769b983017083b1427a057c1e0c