correct date in license
only write bucketIds file if there are buckets; make sure to create the directory if needed