Fix keys file path

- Construct path in an OS agnostic way using os.path.join
- Refactor keys file path into a global constant