test-unarr.py: also write results to a file, for future inspection