Added pid/tid to logging of when we cannot write to checkpoint file.
Added pid/tid to logging of when we cannot write to checkpoint
file.

scalyr/scalyr-agent-2,scalyr/scalyr-agent-2,imron/scalyr-agent-2,scalyr/scalyr-agent-2,scalyr/scalyr-agent-2