This is evidently a problem with the way you're using adb; it's not a
gzip bug. adb will sometimes convert LF to CRLF and vice versa, which is
not something you can do to a gzipped file. For help on that topic,
please consult an adb expert. Closing this (old) gzip bug report.