Fix issue removing transaction log after db close.

There seems to a file resource leak in the constructor of StoreWAL. It
looks like it creates a transaction log to verify and replay any previous log that could exist. Then
it proceeds to create another transaction log of the same name without
closing the previous.