Added filesystem::getUmask and filesystem::applyUmaskTo (in PathInfo.h) and