change the command run method

If you want to compress a file that not use ut8 encoding,you will get a garbled file.Because node's default charset is utf8,and don't support most encodings such as gbk and gb2312.So I use 'I/O Redirection' to archive this.