Fix MSVC ifstream goes weird if attempting to open some invalid paths