Add a persist() method to TunTapDevice object