Setting default compression_mode when not set, specially for GIFs
fixes #12