private void atomicWriteString(Path path, String content) throws IOException {
        atomicWrite(path, (tempFile) -> Files.writeString(tempFile, content));
    }
Apply pathOperation to a temporary file, then atomically move the temporary file to path
routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/nginx/Nginx.java