I noticed at the moment that the "," is being removed from renamed files, however it is a valid filename character.
Also perhaps a minor issue....
If an episode name is "S.O.S.", the resultant filename becomes "S.O.S..avi" - I know its technically correct, but perhaps removal of a period from the name before the extension is added might be in order?
Cheers