write license to disk for license auth.