Remove unintended c++11 feature

std::ofstream can be initialised with a std::string only starting from
c++11.