How To Append A List To A File In Python