use strings.HasSuffix instead of regexp

match tar.gz ending with strings instead of regexp. Faster and simpler.