Added a missing close() call and removed the forcing of checksum_seed