Consistent setting perms on created files and dirs