private static Path toTempFile(Path file) {
        return file.getParent().resolve(file.getFileName().toString() + ".tmp");
    }
Misc utility methods for SIA provided credentials

@author bjorncs
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/utils/SiaUtils.java