Support Linux > 3.17 kernel.
Kernel 3.17 added VERIFY_OCTAL_PERMISSIONS macro which forbids creation
of sysfs entries writeable by everyone ('other').
Support this by setting stricter permissions.