public static String getCanonicalPath(final Path file) {
        return file.toAbsolutePath().normalize().toString();
    }
Similar to the unix touch cammand. Sets the last modified time to now if the file
exists else, creates the file

@throws IOException
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/FileUtil.java