Merge changes I6e276f31,I63859b5b

* changes:
  wifi_files: don't touch update.new too often.
  wifi_files: escape SSID for JSON.