(#17994) Fix wrong (decimal) mode causes sticky bit to be set.

A decimal mode/mask of 755 is clearly wrong; it should have been 0755.
The problem causes the sticky bit (and what not) to be set instead of
what was intended.