def write(site_destination_dir)
      if modified?
        dst_path = destination(site_destination_dir)
        Files.copy_p(path, dst_path)

        # respect user's umask; Ruby's tempfile has mode 0o600
        File.chmod(0o666 & ~File.umask, dst_path)

        @is_modified = false
        true
      else
        false
      end
    end
def write(site_destination_dir)
      if modified?
        dst_path = destination(site_destination_dir)
        Files.copy_p(path, dst_path)

        # respect user's umask; Ruby's tempfile has mode 0o600
        File.chmod(0o666 & ~File.umask, dst_path)

        @is_modified = false
        true
      else
        false
      end
    end
allows writing destination only after
 `destination_path_for_markup` has been called