chore(http): fix httpGetFile to handle redirects