Python Insert String Into File