Do not keep output file open.
More tests, update change log.