hook.py: Access filename after rollover.