Fixed file attribute call on windows; hopefully

This code is not very nice looking right now
[PLXCOMP-244] Don't try to set attributes of symbolic links
Merge pull request #6 from mizdebsk/PLXCOMP-244

[PLXCOMP-244] Don't try to set attributes of symbolic links

Thanks a lot ! Finding out what to do with permissions on symlinks was on the "lost" part of my todo list :)