added nogz option for not compressing temp files - NOTE: THIS METHOD IS SLOW DUE TO PYTHON GZIP IMPL