Fix incorrect temp file usage reported by file_stream. Fixes #111.

The temp file usage reported has previously been off by a single block,
since the file size has been sampled just before each block write
instead of just after.