Added ForceDirectories call to ensure the directory of the NUnit XML output file exists