Maybe it was a file “in use” by the OS. Does Avast allow scanning in Safe Mode? If it does you may wanna try that next time.