Vstat: Reopen the shmlog on demand

Still not quite tested, but should work.

References #41
References #23