Friendlier failures in static_freeze.py