Python Write A List Into A File