make DKUFileUtils.writeFileUTF8 atomic