network: fix leases file