decompress without storing gz file
use tempfile