made accelerate keys directory configurable, and permissions for the file and dir configurable, and gave them a safe default