fen2stats.py: assimilate png-extract into .py