Fix warning when building on Windows.

Use `chmod` from shell.js.