Fixed default permissions on new directories and files
Fixed default permissions on new directories and files (in core, this time)