Something in the memory of Windows 7 was infected, saved to the disk (memory page file) and detected by avast.
It could be a false positive or a missdetection of Avira.
Anyway, the problem is not pagefile.sys (as it is temporary), but the file(s) loaded into computer memory that could be infected.
My opinion?
False positive of avast. Do nothing.