Python output no longer rewrites older output. Program does not automatically close out upon file generation.