Fixed a bug with applying metadata on Windows
Implemented ACLs on Windows