Well the filename is 000MLeoKeyFoundation.py it is located in autoload directory.
Try the following:
1. Delete the following 000MLeoKeyFoundation.py and pyc from the autoload directory and backup the py file
2. From scripts directory delete the keyboardbindings.py and pyc
3. Start the game
4. Exit the game
5. Restore the 000MLeoKeyFoundation.py
6. Start the game
7. Try binding the keys now (you'll also have to rebind all your keys now too)
I'm also going to move this to tech support where it belongs.