Refs #8962 ifstream constructor needed c strings

the mac buildserver fialed due to my ifstream constructors being passed std::strings, when they wanted c strings.