Chemical after-treatment of artificial filaments or the like during manufacture