added support for archiving log files as gzip files