ifstream and ofstream constructors require char* instead of String in older compilers