Fix writing server key
Fix writing server key

kennethlimcp/particle-cli,spark/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,spark/particle-cli,kennethlimcp/particle-cli,kennethlimcp/particle-cli,spark/particle-cli