scripts/pre-commit hook: added list of allowed file extensions to be checked and extended with tab-to-space converter.