     (with-open [^InputStream source (pt/-input-stream content)
                 ^OutputStream dest (Files/newOutputStream fullpath
                                                           impl/open-opts)]
-      (IOUtils/copy source dest)
+      (io/copy source dest)
       path)))
 
 (defn- delete

(ns storages.fs
  "A local filesystem storage implementation."
  (:require [promesa.core :as p]
            [executors.core :as exec]
            [storages.proto :as pt]
            [storages.impl :as impl])

           java.io.OutputStream
           java.net.URI
           java.nio.file.Path
           java.nio.file.Files))

(defn- normalize-path
  [^Path base ^Path path]
