do not keep journal in-memory to prevent corruption

This fixes issue #4