fix awk cmd execute wrong in non-windows platform.

Because on osx or linux, shell parse $1 in double quotes instead of passing it to awk.
see http://superuser.com/questions/178425/awk-doesnt-work-when-inside-double-quotes
Merge pull request #180 from lx1988cyk/patch-3

Fix Issues Raised By #158

Resolve issues caused by as #158, as per http://superuser.com/q/178425/