Use ofstream from std
Spack installation of Gaudi@36.5:
error: 'ofstream' is not a member of 'boost::filesystem'; did you mean 'std::ofstream'?
boost::filesystem::ofstream myfile;
This patch was suggested in https://github.com/spack/spack/pull/30281, which fixes the error.