Yes, you can safely delete the file.
I believe you got that error message… I only don’t believe it came from avast! Virus Cleaner. As the author of it, I know what messages it can give