dump dist layers into disk