leases: fallback to statedir on read-only fs (bnc#885625)