Fix fs.createWriteStream race conditions

@imbrianj - My Pi would throw

```js
ENOENT, open '/usr/local/lib/node_modules/universal-controller/controllers/../tmp/stocks.json'
```

Fixed the controller so the file is written before you write to it. Also fixed the weather error state