add support for handling odd gzip filename extension (.gzip)