storage: file: Only sync parent directory on unix

Issue #57.
leveldb: Close journal before exiting on recoverJournal

Discovered on issue #53.