fix trying to write to non-existent dir
fix trying to write to non-existent dir

fixes #738

thheller/shadow-cljs,thheller/shadow-devtools,thheller/shadow-cljs,thheller/shadow-devtools,thheller/shadow-cljs,thheller/shadow-cljs,thheller/shadow-devtools,thheller/shadow-devtools