Fix ifstream constructor calls for OS X

They require const char * filenames & not std::string.
Refs #7505