Fixed works with chef 12
Fixed permissions for node catalog on windows systems with chef 11