Enhancement: Add illumos/Solaris support

https://github.com/restic/restic/pull/1649