Fixed bug where files might not be finished. - When the last record of a block isn't present (record_num % block_size)