storage: implement rudimentary compaction and remove flock()ing for now.