change pre-commit file mode