Enable client to be run on windows OS.

The motivation behind this change is to be able to use the spotify docker maven plugin on my local dev environment (a windows machine).

CompressedDirectory currently obtains PosixFileAttributes to preserve file permissions when building the tar. When executed on a windows FS, this throws an UnsupportedOperationException. Have made this code more tolerant if executed on Windows.

Initial unit test on the class was failing on windows. My change enabled it to pass. I also had to modify the way in which the test instance was constructed because URL.getPath() did not generate a valid windows file path.