fix chmod error on win32.

"chmod" will crash on Windows(Strawberry Perl 5.18.2 x86-64). Use pl2bat to make Perl script executable.