Add work with dirPermissions in scratchLocal script

  - umask setting create by gen script
  - umask setting read from file by slave script
Merge pull request #498 from stavamichal/fsScratchLocalSetRightsForNewDirectories

Add work with dirPermissions in scratchLocal script