SES-1791 : Fix bugs where files were not created because path creation
doesn't automatically create files