Fix broken --cfg flag
Use gzip compression for index cache
Command line option to ignore index cache
Close tmpfiles earlier (ref #2)