Intoduce Option to write large files in compressed form

In this feature branch, I will add an option to read and write the configuration files directly in a gzip format to save disc space. We should also discuss whether the same option should also effect time-resolved result files.