write license to disk for license auth.

The license validator will format correctly before checking the signature, but for consistency you should stringify this way: `JSON.stringify(foo, null, 2);`