fix shebang check bug
cut out the correct portion to get mode
Merge pull request #11 from qdx/master

fix shebang check bug