For query-file-tests use lit methods for writing messages about
configuration.
Enforce that the python version used when running OutputCheck is the
same that was detected as CMake configure time.