#133 fix export to non existent directory