fix file permissions, fixes #17919 in dojox, except for submodules