In some scenarios the call `pickle/dump` done in Clojure fails. One reason seems to be that the synthetic class `__jvm_io_bridge__` cannot be pickled. See here: https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/pickle.20complex.20python.20object.20.3F