Modified pre-commit hook for executable file checking.

Changed to allow a space between the hash-bang and the slash.
refs #7284