update cache to handle multiple distro files correctly
add missing import __future__
fix modifying dict while iterating over it
fix cache with Python 3
fix Python 2 loading when cache is generated with Python 3