i'll update it to write to tmp and rename, like we do in other places that write files out.  *shrug* as to why this one does things differently, good catch.