An extension of the stochastic sewing lemma and applications to fractional stochastic calculus