On z/OS, umask() returns an int because mode_t is type int, however it is being compared to an unsigned int. This patch fixes the following warning we see when compiling Path.cpp.
comparison of integers of different signs: 'const int' and 'const unsigned int'