Save file with utf-8 encoding.