(WIP) Replace erlang cookie fact with type and provider

Alternate proposal to #278 
http://ruby-doc.org/core-1.9.3/IO.html

w+ means open for read-write. I could change it to just 'w' since it's not actually doing any reading. This will wipe out the existing data. This is okay because the getter is checking the content before the setter wipes it out.