The script generate_analytics fails when I use this on a Windows machine. I fixed this by passing the errors='ignore' parameter to the open function within the python script. The other way to fix this was to remove unknown characters from the yaml files (provided by Mitre)