private void atomicCopy(Path src, Path dst) throws IOException {
        atomicWrite(dst, (tempFile) -> Files.copy(src, tempFile,
                                                  StandardCopyOption.REPLACE_EXISTING,
                                                  StandardCopyOption.COPY_ATTRIBUTES));
    }
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