cache: Correctly return dir for Windows/darwin
cache: Correctly return dir for Windows/darwin

restic/restic,restic/restic,ar-jan/restic,middelink/restic,kurin/restic,middelink/restic,ar-jan/restic,kurin/restic