how to write unicode strings into a file?,f.write(s.encode('UTF-8'))