Apply shelljs methods to unix operation

Replace execution of unix related operations such as cp, rm, and cat with shelljs' methods to support cross platform.

gh-1