Python Open File For Writing Append