Fixing gzip detection for non local files