Python Write Unicode String To File