Remove python2.7-specific 'compress_type'