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 simply made this code more tolerant on Windows, by allowing file permissions to fallback on default.

Initial unit test on the class was failing on when run 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.