Write out the erlang cookie file in a way that doesnt crash the chef run