Fixed downloading of links to text-based files.