Revert "Attempt to fix #84 by releasing per-chunk lock and acquiring generation lock before re-acquiring the per-chunk lock if generation is necessary."

This reverts commit 3e141c66abcc50c4c64e6f901efb9b8b8342c2ae.
Let's try that again.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>