cache.py: Share the parser's mtime_cache, reducing the number of stat syscalls