Add better logging to the new Python-based SWIG generation scripts.