Updated so that we unescape before setting and cutting up into more functions and adding a header to the file.
Updated so that we unescape before setting and cutting up into more functions and adding a header to the file.

hagleitn/Openstack-Devstack2,stackforge/anvil,mc2014/anvil,hagleitn/Openstack-Devstack2,mc2014/anvil,stackforge/anvil