WIP: support multiple wals

i was thinking w.Close should only be called when the wal itself is closed.