Saves input file before dying; automatic commits.