15ba4de7e6
Actually test the gzip path, and correct a bytes/str issue under python3 (the file should be opened as text). Change-Id: Icc5362d3d020761e07e60fb8ee296c98a8fe3ac4