Mdl 46763 keep jpg avatars as jpg