This is only implemented to support capabilities on installed packages
Drop use of golang.org/x/sys/unix which is dependent on GOOS and doesn't expose the Unix file mode constants on Windows. Instead use hard coded constants which is fine (and safer) to create a squashfs image.