As Digital Media Companies Brace for Change, Unions Try to Cushion the Blow