Create output directory if it doesn't exist when the job is run.
Create output directory if it doesn't exist when the job is run.


Former-commit-id: d9dc0e80387e1631eb630209268567ec1e82a83c [formerly b9875615f98e0f6bd168ef405c06c11d8489a79a]
Former-commit-id: bb5e12aa4fa15fd017d53f543cf6746e6ad1fd97
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine