Revert "Get rid of umask"

This reverts commit e4ff1b32a26eeff008bb14e66f6e21695c117daa.