validate compress type
extract compress-related methods, generate_path and compress_context
fix a bug where ConfigError needs Fluent:: prefix
add invalid configure test