Error propogation for db re-mmap
Abstract writes to a separate function so we can attach journaling later
Merge branch 'master' of github.com:fiatmoney/clownshoes