Avast is a resident on access antivirus scanner, it scans downloaded web content using the Web Shield. Also newly created (which would include downloads), modified or run executable files are scanned by the File System Shield.
So you shouldn't need this redirect.