Fix bug #62524, only follow redirects in file streams for 3xx HTTP statuses