Fixed file mode in "hooks" directory