A3COSMOS: the dust attenuation of star-forming galaxies at z = 2.5–4.0 from the COSMOS-ALMA archive. Issue 4 (22nd November 2019)