OPAL-1564: File format is xml, opal creates the directory only if the output file format is CSV (was always creating a folder before)