Factor sets and differentials on abelian varieties