Remove unneeded comparison in isGzipFile