Download HTML data to a file