code: public static void writeUTF8(final String value, final Path path) throws IOException {
          write(value.getBytes(Charsets.UTF_8), path);
      }
docs: Write the string to a temporary file, fsync the file, then atomically rename to the target path.
  On error it will make a best-effort to erase the temporary file.
  
  @param value string value to write to file as UTF8 bytes
  @param path path to write out to
  @throws IOException in the event that the data could not be written to the path.