gh-144 Make sure assertion happens after Pump has completed writing

* The assertion might be happening too early, since the callback's
executed after the old file has been completely read. Following
what the Vert.x core test does, we now close both the old and new
files, then fully read the new file, and finally compare the sizes.