I doubt that such persons can be called "Avatars"; although evil people can apparently get Enlightened (and still continue with evil (a-Dharmic) acts.) Some people still maintain that all acts by Enlightened people are "right" or Dharmic. I disagree with that position, but either assertion is speculative. Personally, I maintain that what we see - the superficial acts - require no deeper metaphysical analysis bringing in such entities as the Gunas, Doer; etc. A pedophile is simply a pedophile.
http://robertpriddy.wordpress.com/2008/05/11/sai-baba-prediction-of-his-death/