fix bug: can't pass path as second argument

I think it's better to regard args as list, and join it when we need to
pass it to shell.