Ensure hook scripts are converted to have UNIX line endings