(maint) Avoid atomic write when unneeded
(maint) Avoid atomic write when unneeded

It impedes some uses of task_wrapper where we might wish to redirect
stderr.

puppetlabs/pxp-agent,puppetlabs/pxp-agent,puppetlabs/pxp-agent