Make site and CN lowercase.
This prevents abuse cases like user@@site and User@@site.
Make data store filename a configurable parameter.