Fix syntax error in the writing workers example