minor fix for FileFunctions.cpp and PathFunctions.h