Bug 1042247 -  Consolidate compression logic in get_about_memory.py

This makes compression of individual files opt-in and adds an option to compress the whole out_dir when completed. It also properly closes DMD files after use.