Use file descriptor in mounstate.
unionfs: stop leaking temp dirs in test.