Isn't it easier to just configure messenger to virus scan the files? Then it stops complaining and you can send what you want.