Add windows userdata

This is a work-in-progress branch.

This branch adds userdata support for windows systems.
I don't suppose there's any way to set the ACLs from the permission value?