VSPipe: fix several issues introduced with the argument changes
Cython: possibly leak a little bit less