remote gzipped file support for python 3