NIO wrapper in clojure