OP fix export file appending issue when transit from a task to a new one.