Added final newline to tmp file.