Please save the .dat file to disk, in avast! GUI go to Maintenance / Subscription, click "Insert license file" and either browse for the file (you'd have either to change the extension filter from the default *.avastlic to *.*, or rename the file on disk from .dat to .avastlic), or copy&paste the full path into the "File name" box.