Fix issue with jruby build unable to save json/csv files