create the stats database group-writable