code: private void write(final Path path, final List<CharSequence> sequence) throws IOException {
      log.debug("writing: {}", path.normalize().toAbsolutePath());
      path.toFile().getParentFile().mkdirs();
      Files.write(path, sequence);
    }
docs: Write content to file.
  
  @param path     Target file.
  @param sequence File content.
  @throws IOException If something goes wrong.