[PATCH] Split SrcDist::sdist into several functions