Ensure .out files are saved into logDirectory