Add a pre-commit script to check for filename and content encoding