Made git pre-commit hook support file names with spaces