[PATCH (v2)] added copyin/copyout options; add makeChrootPath