VFS-Local updates while working on new client

* Added PTY
* Made a better copy function.
* Windows Support
* Metadata Support
* Files are written to temp file, and then moved.

@lennartcl @fjakobs